package com.xms.organization.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.UUID;

/**
 * <p>
 * 
 * </p>
 *
 * @author migo
 * @since 2021-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Businessunit extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private UUID businessunitid;

    private String name;

    private UUID organizationid;

    private String unitnumber;

    private UUID parentbusinessunitid;

}
